﻿using System;

class DecimalAsBinary
{
    static void Main(string[] args)
    {
        int decimalNumber = 123123;
        string result = "";
        while (decimalNumber != 0)
        {
            result += (decimalNumber % 2).ToString();
            decimalNumber /= 2;
        }
        char[] reversedArray = result.ToCharArray();
        Array.Reverse(reversedArray);
        result = new string(reversedArray);
        Console.WriteLine(result);
    }
}